<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: QUANYUNA
  Date: 2021/5/11
  Time: 10:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    //获取项目的根路径
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <title>书籍查询页面</title>
<%--    <link rel="stylesheet" href="<%=basePath%>book/jsp/css/donateBook.css">--%>
    <link rel="stylesheet" href="<%=basePath%>/sweetalert.css">
    <link rel="stylesheet" href="<%=basePath%>/layui-v2.6.6/css/layui.css">
    <style type="text/css">
        * {
            margin: auto;
            padding: 0px;
        }


        #book_table {
            text-align: center;
            background: white;
            width: 550px;
            height: 400px;
            margin-top: 100px;
            text-align: center;
            padding: 80px;
            /*background-image: url("../pig/04.pig");*/
        }

        tr{
            font-size: 20px;
        }

        input{
            font-size: 20px;
        }

        select{
            width: 244px;
            font-size: 20px;
        }

        input[name='time']{
            width: 244px;
        }

        #book_table tr{
            width: 80px;
            height: 10px;
        }

        h2{
            color: red;
        }

        input[name='button_two_td']{
            position: absolute;
            left: -120px;
            top: 32px;
        }

        #exit{
            position: absolute;
            left: 280px;
            top: -29px;
        }

        #location_tr{
            /*display: none;*/
        }


        /*
        *书籍查询页面的css
         */
        /*background-image: url("../pig/05.pig");*/



        .p_select{
            font-size: 30px;
            margin-top: 180px;
            text-align: center;
        }

        #id_select{
            font-size: 30px;
            background: #1E9FFF;
        }


        #donatebook_thead{
            font-size: 30px;
        }

    </style>
</head>

<body id="body_select">
<form action="<%=basePath%>/BookServlet?tp=claim_select" method="post">
</form>
<table class="layui-table" lay-even="" lay-skin="nob" border="2px">
    <colgroup>
        <col width="150">
        <col width="150">
        <col width="200">
        <col>
    </colgroup>
    <thead>
    <tr>
        <td>序号</td>
        <td>失物编码</td>
        <td>认证人姓名</td>
        <td>身份证号</td>
        <td>认领时间</td>
        <td>联系方式</td>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${page.list}" var="list" >
        <tr id="page_tbody">
            <td>${list.getId()}</td>
            <td>${list.getGoodsId()}</td>
            <td>${list.getName()}</td>
            <td>${list.getCard()}</td>
            <td>${list.getTime()}</td>
            <td>${list.getPhone()}</td>
            </td>
        </tr>
    </c:forEach>
    <td colspan="10" align="center" id="id_select">

    </tbody>
</table>
</table>
<script src="<%=basePath%>/layui-v2.6.6/layui.js"></script>
</body>
